﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LTM_Extra
{
   public static class Constants
    {
       public const string AuthorXmlFileName = "Authors.xml";
       public const string AppSettingsXmlFileName = "Settings.xml";
       public const string TOCXmlFileName = @"TOC.xml";
       public const string StylesXmlFileName = @"Styles.xml";

       public const string DefaultAuthorKey = "defaultAuthor";
       public const string TemplateFolderKey = "templateFolder";
       public const string VersionNumberKey = "versionNumber";
       public const string InstallInfoKey = "installation";

       public const string ConfigurationFileFolder = @"Leighton\Template Manager";
       public const string RegistryPath = @"HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins\LTM.WordAddin";
       public const string IsAdmin = "IsAdmin";


       public const string NameKey = "Name";
       public const string IdKey = "Id";

       public const string LabelPrefix = "lbl";
       public const string TextBoxPrefix = "txt";
       public const string ComBoxPrefix = "cmb";

       public const string InitialValueSeperator = "%%";
       public const string StyleNameRegExp = @"^\[\S+_\S+\]\S*";

       public const string StyleShowLogo = "Pic_Logo_Show";
       public const string StyleHideLogo = "Pic_Logo_Hide";
       public const string StyleShowFooter = "Pic_Footer_Show";
       public const string StyleHideFooter = "Pic_Footer_Hide";
       public const string StyleShowCompany = "styleShowCompany";
       public const string StyleHideCompany = "styleHideCompany";
       public const string StyleShowAddress = "styleShowAddress";
       public const string StyleHideAddress = "styleHideAddress";


       public const string TagShowLogo = "SL";
       public const string TagHideLogo = "HL";
       public const string TagShowFooter = "SF";
       public const string TagHideFooter = "HF";
       public const string TagShowAddress = "SA";
       public const string TagHideAddress = "HA";
            


       public static class VariableType
       {
           public const string Integer = "Integer";
           public const string String = "String";
           public const string Email = "Email";
           public const string Combox = "Combox";
           public const string MultilineString = "MultilineString";

           public static IList<string> GetList()
           {
               return new List<string>() { Integer, String, Email, Combox, MultilineString };
           }
       }

            
    }
}
